#! /bin/sh
#
# wash.sh
# Copyright (C) 2020 yu <yu@deb>
#
# Distributed under terms of the MIT license.
#


adb root
adb shell 'echo "--wipe_data" > /cache/recovery/command'
adb shell sync
adb shell "echo good >  /cache/recovery/good"
adb shell "reboot recovery"
